// eslint-disable-next-line
const viewGenerator = require('./plop-templates/view/prompt');
// eslint-disable-next-line
const componentGenerator = require('./plop-templates/component/prompt');
// eslint-disable-next-line
const storeGenerator = require('./plop-templates/store/prompt.js');

/**
 * @url https://www.npmjs.com/package/plop
 * @description 微型生成器框架，使整個團隊可以輕鬆地創建具有統一性級別的文件.
 */
module.exports = plop => {
  plop.setGenerator('view', viewGenerator);
  plop.setGenerator('component', componentGenerator);
  plop.setGenerator('store', storeGenerator);
};
